package Decorator;

/**
 * @ProjectName: 23种设计模式
 * @Package: Decorator
 * @ClassName: RunCar
 * @Author: renhan
 * @Description:
 * @Date: 2020/11/29 17:02
 * @Version: 1.0
 */
public class RunCar implements Car {

    @Override
    public void show() {
        this.run();
    }
    public void run() {
        System.out.println("pao");
    }
}
